package com.example.demo.request;

public class QueryRequest {
    private String query;
    private boolean stream;

    public QueryRequest() {}

    public QueryRequest(String query, boolean stream) {
        this.query = query;
        this.stream = stream;
    }

    // Getters and setters
    public String getQuery() {
        return query;
    }

    public void setQuery(String query) {
        this.query = query;
    }

    public boolean isStream() {
        return stream;
    }

    public void setStream(boolean stream) {
        this.stream = stream;
    }
}
